home *** CD-ROM | disk | FTP | other *** search
/ Belgian Amiga Club - ADF Collection / BS1 part 34.zip / BS1 part 34 / FredFish PD 315.adf / Surf / fasttrig.h < prev    next >
C/C++ Source or Header  |  1990-02-14  |  358b  |  21 lines

  1. #ifndef FASTTRIG_H_FILE
  2. #define FASTTRIG_H_FILE
  3.  
  4. #ifndef MYTYPES_H_FILE
  5. #include "mytypes.h"
  6. #endif !MYTYPES_H_FILE
  7.  
  8. #define MaxTrigEntries 512
  9. #ifndef PI
  10. #define PI 3.1415927
  11. #endif PI
  12. extern float *sintab;
  13. extern float *costab;
  14.  
  15. #define fsin(sdeg) sintab[sdeg]
  16. #define fcos(sdeg) costab[sdeg]
  17.  
  18. bool InitFastTrig(/* float, int */);
  19.  
  20. #endif !FASTTRIG_H_FILE
  21.